package org.wmq.shopmanager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.shopmodel.DTO.product.CategoryBrandQueryDTO;
import org.wmq.shopmodel.Entity.product.Brand;
import org.wmq.shopmodel.Entity.product.CategoryBrand;

import java.util.List;

public interface CategoryBrandService extends IService<CategoryBrand> {
    IPage<CategoryBrand> getPageItem(CategoryBrandQueryDTO categoryBrandQueryDTO);

    List<Brand> getBrandListByCategoryId(Long categoryId);
}
